using SqlSugar;
using System;

namespace Luka.Entities.System;

/// <summary>
/// 
///</summary>
[SugarTable("SysUser")]
[Tenant("System")]
public class SysUser
{
    /// <summary>
    /// 主键Id
    ///</summary>
    [SugarColumn(ColumnName = "Id"  , IsPrimaryKey = true , IsIdentity = true)]
    public int Id { get; set; }
    /// <summary>
    /// 用户名
    ///</summary>
    [SugarColumn(ColumnName = "Name" , IsNullable = true  )]
    public string? Name { get; set; }
    /// <summary>
    /// 生日
    ///</summary>
    [SugarColumn(ColumnName = "Birthday" , IsNullable = true  )]
    public DateTime? Birthday { get; set; }
    /// <summary>
    /// 性别
    ///</summary>
    [SugarColumn(ColumnName = "Gender" , IsNullable = true  )]
    public string? Gender { get; set; }
    /// <summary>
    /// 联系方式
    ///</summary>
    [SugarColumn(ColumnName = "Mobile" , IsNullable = true  )]
    public string? Mobile { get; set; }
    /// <summary>
    /// 省
    ///</summary>
    [SugarColumn(ColumnName = "Province" , IsNullable = true  )]
    public string? Province { get; set; }
    /// <summary>
    /// 市
    ///</summary>
    [SugarColumn(ColumnName = "City" , IsNullable = true  )]
    public string? City { get; set; }
    /// <summary>
    /// 区
    ///</summary>
    [SugarColumn(ColumnName = "Region" , IsNullable = true  )]
    public string? Region { get; set; }
    /// <summary>
    /// 详细地址
    ///</summary>
    [SugarColumn(ColumnName = "Address" , IsNullable = true  )]
    public string? Address { get; set; }
    /// <summary>
    /// 创建时间
    ///</summary>
    [SugarColumn(ColumnName = "Created" , IsNullable = true  )]
    public DateTime? Created { get; set; }
    /// <summary>
    /// 创建人
    ///</summary>
    [SugarColumn(ColumnName = "Creater" , IsNullable = true  )]
    public string? Creater { get; set; }
    /// <summary>
    /// 修改时间
    ///</summary>
    [SugarColumn(ColumnName = "Updated" , IsNullable = true  )]
    public DateTime? Updated { get; set; }
    /// <summary>
    /// 修改人
    ///</summary>
    [SugarColumn(ColumnName = "Updater" , IsNullable = true  )]
    public string? Updater { get; set; }
    /// <summary>
    /// IP地址
    ///</summary>
    [SugarColumn(ColumnName = "IP" , IsNullable = true  )]
    public string? IP { get; set; }
    /// <summary>
    /// 邮箱地址
    ///</summary>
    [SugarColumn(ColumnName = "Email" , IsNullable = true  )]
    public string? Email { get; set; }
    /// <summary>
    /// 微信OpenId
    ///</summary>
    [SugarColumn(ColumnName = "OpenId" , IsNullable = true  )]
    public string? OpenId { get; set; }
    /// <summary>
    /// 用户头像
    ///</summary>
    [SugarColumn(ColumnName = "Avatar" , IsNullable = true  )]
    public string? Avatar { get; set; }
    /// <summary>
    /// 昵称
    ///</summary>
    [SugarColumn(ColumnName = "NickName" , IsNullable = true  )]
    public string? NickName { get; set; }
    /// <summary>
    /// 密码
    ///</summary>
    [SugarColumn(ColumnName = "PassWord" , IsNullable = true  )]
    public string? PassWord { get; set; }
    /// <summary>
    /// 
    ///</summary>
    [SugarColumn(ColumnName = "IsDel" , IsNullable = true  )]
    public int? IsDel { get; set; }
}
